package com.hmdp;

import java.util.Arrays;
import java.util.HashSet;

public class test {
    public static void main(String[] args) {
        fun("abcd","bcead");
    }

    static void fun(String s,String t) {
        int sum1 = 0, sum2 = 0;
        for (int i = 0; i < s.length(); i++) {
            sum1 += s.charAt(i);
        }

        for (int i = 0; i < t.length(); i++) {
            sum2 += t.charAt(i);
        }
        char[] chars = Character.toChars(sum2 - sum1);
        System.out.println(chars);
    }

}
